package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

@ApiModel(value = "Task对象", description = "定时任务表")
/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/Task.class */
public class Task implements Serializable {
    private static final long serialVersionUID = 1;
    private Integer id;
    @ApiModelProperty("定时任务注册名称")
    private String beanName;
    @ApiModelProperty("定时任务方法名称")
    private String methoDname;
    @ApiModelProperty("定时任务时间")
    private String taskTime;
    @ApiModelProperty("备注")
    private String comment;
    @ApiModelProperty(value = "频率 0秒；1分；2小时；3日；4月", example = "0")
    private Integer rate;
    @ApiModelProperty(value = "周期(时间)", example = "0")
    private Integer cycle;
    @ApiModelProperty(value = "开启状态：1、开启  2、关闭", example = "0")
    private Integer state;
    @ApiModelProperty("任务关联的公告、通知ID")
    private Integer noticeAfficheId;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public void setMethoDname(String methoDname) {
        this.methoDname = methoDname;
    }

    public void setTaskTime(String taskTime) {
        this.taskTime = taskTime;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public void setRate(Integer rate) {
        this.rate = rate;
    }

    public void setCycle(Integer cycle) {
        this.cycle = cycle;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public void setNoticeAfficheId(Integer noticeAfficheId) {
        this.noticeAfficheId = noticeAfficheId;
    }

    @Override // java.lang.Object
    public String toString() {
        return "Task(id=" + getId() + ", beanName=" + getBeanName() + ", methoDname=" + getMethoDname() + ", taskTime=" + getTaskTime() + ", comment=" + getComment() + ", rate=" + getRate() + ", cycle=" + getCycle() + ", state=" + getState() + ", noticeAfficheId=" + getNoticeAfficheId() + PoiElUtil.RIGHT_BRACKET;
    }

    @Override // java.lang.Object
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof Task)) {
            return false;
        }
        Task other = (Task) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$beanName = getBeanName();
        Object other$beanName = other.getBeanName();
        if (this$beanName == null) {
            if (other$beanName != null) {
                return false;
            }
        } else if (!this$beanName.equals(other$beanName)) {
            return false;
        }
        Object this$methoDname = getMethoDname();
        Object other$methoDname = other.getMethoDname();
        if (this$methoDname == null) {
            if (other$methoDname != null) {
                return false;
            }
        } else if (!this$methoDname.equals(other$methoDname)) {
            return false;
        }
        Object this$taskTime = getTaskTime();
        Object other$taskTime = other.getTaskTime();
        if (this$taskTime == null) {
            if (other$taskTime != null) {
                return false;
            }
        } else if (!this$taskTime.equals(other$taskTime)) {
            return false;
        }
        Object this$comment = getComment();
        Object other$comment = other.getComment();
        if (this$comment == null) {
            if (other$comment != null) {
                return false;
            }
        } else if (!this$comment.equals(other$comment)) {
            return false;
        }
        Object this$rate = getRate();
        Object other$rate = other.getRate();
        if (this$rate == null) {
            if (other$rate != null) {
                return false;
            }
        } else if (!this$rate.equals(other$rate)) {
            return false;
        }
        Object this$cycle = getCycle();
        Object other$cycle = other.getCycle();
        if (this$cycle == null) {
            if (other$cycle != null) {
                return false;
            }
        } else if (!this$cycle.equals(other$cycle)) {
            return false;
        }
        Object this$state = getState();
        Object other$state = other.getState();
        if (this$state == null) {
            if (other$state != null) {
                return false;
            }
        } else if (!this$state.equals(other$state)) {
            return false;
        }
        Object this$noticeAfficheId = getNoticeAfficheId();
        Object other$noticeAfficheId = other.getNoticeAfficheId();
        return this$noticeAfficheId == null ? other$noticeAfficheId == null : this$noticeAfficheId.equals(other$noticeAfficheId);
    }

    protected boolean canEqual(Object other) {
        return other instanceof Task;
    }

    @Override // java.lang.Object
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $beanName = getBeanName();
        int result2 = (result * 59) + ($beanName == null ? 43 : $beanName.hashCode());
        Object $methoDname = getMethoDname();
        int result3 = (result2 * 59) + ($methoDname == null ? 43 : $methoDname.hashCode());
        Object $taskTime = getTaskTime();
        int result4 = (result3 * 59) + ($taskTime == null ? 43 : $taskTime.hashCode());
        Object $comment = getComment();
        int result5 = (result4 * 59) + ($comment == null ? 43 : $comment.hashCode());
        Object $rate = getRate();
        int result6 = (result5 * 59) + ($rate == null ? 43 : $rate.hashCode());
        Object $cycle = getCycle();
        int result7 = (result6 * 59) + ($cycle == null ? 43 : $cycle.hashCode());
        Object $state = getState();
        int result8 = (result7 * 59) + ($state == null ? 43 : $state.hashCode());
        Object $noticeAfficheId = getNoticeAfficheId();
        return (result8 * 59) + ($noticeAfficheId == null ? 43 : $noticeAfficheId.hashCode());
    }

    public Integer getId() {
        return this.id;
    }

    public String getBeanName() {
        return this.beanName;
    }

    public String getMethoDname() {
        return this.methoDname;
    }

    public String getTaskTime() {
        return this.taskTime;
    }

    public String getComment() {
        return this.comment;
    }

    public Integer getRate() {
        return this.rate;
    }

    public Integer getCycle() {
        return this.cycle;
    }

    public Integer getState() {
        return this.state;
    }

    public Integer getNoticeAfficheId() {
        return this.noticeAfficheId;
    }
}